{include file="header.html"}
<div id="rightTop">
    <p>{$lang.coupon}</p>
    <ul class="subnav">
        <li><span></span><a class="btn1" href="index.php?app=coupon">{$lang.manage}</a></li>
        <li><span></span><a class="btn1" href="index.php?app=coupon&act=add_setting">新增</a></li>
        <li><span>心愿单代金券配置</span></li>
    </ul>
</div>
<div class="tdare">
    <table width="100%" cellspacing="0" class="dataTable">
        <!--{if $coupon_list}-->
        <tr class="tatr1">
            <td class="table-center">名称</td>
            <td class="table-center">备注</td>
            <td class="table-center">类型</td>
            <td class="table-center">金额</td>
            <td class="table-center">订单最小金额</td>
            <td class="handler">{$lang.handler}</td>
        </tr>
        <!--{/if}-->
        <!--{foreach from=$coupon_list item=coupon}-->
        <tr class="tatr2">
            <td class="table-center">{$coupon.name|escape}</td>
            <td class="table-center">{$coupon.remark|escape}</td>
            <td class="table-center">
            <!--{if $coupon.type eq 1}-->
                通用代金券
                <!--{elseif $coupon.type eq 2}-->
                境内代金券
                <!--{else}-->
                最低消费金额
                <!--{/if}-->
            </td>
            <td class="table-center">{$coupon.money|escape}</td>
            <td class="table-center">{$coupon.min_money|escape}</td>
            <td class="handler">
                <a href="index.php?app=coupon&amp;act=view_setting&amp;id={$coupon.setting_id}" >{$lang.view}</a>
            </td>
        </tr>
        <!--{foreachelse}-->
        <tr class="no_data">
            <td colspan="12">{$lang.no_data}</td>
        </tr>
        <!--{/foreach}-->
    </table>
    <!--{if $coupon_list}-->
    <div id="dataFuncs">
        <div class="pageLinks">{include file=page.bottom.html}</div>
    </div>
    <div class="clear"></div>
    <!--{/if}-->

</div>
{include file="footer.html"}